const { env } = require("process");
const { pullAll,pushAll,cloneAll } = require("./master");
const { releasePush,release,releasePull } = require("./release");

//  bklyn hibaes hero nova razzi testament

// 获取master模版
if (env.NODE_ENV === "masterpull") {
    pullAll()
}

//推送所有模版
if (env.NODE_ENV === "masterpush") {
    pushAll()
}

//克隆所有模版
if (env.NODE_ENV === "masterclone") {
    cloneAll()
}

//获取所有模版
if (env.NODE_ENV === "releasepull") {
    releasePull()
}

//发布所有模版
if (env.NODE_ENV === "releasepush") {
    releasePush()
}

//发布单个模版
if (env.NODE_ENV === "release") {
    var tempNames = ["critical20","envy","expanse","fashionopolism","flash","goyaFashion","maklia","quest","rauhg","refresh","sport","stockholm"];
    tempNames.map((item)=>{
        release(item)
    })
}




